diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx index e8433c55..4915edcd 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-regular-registrations/page.tsx @@ -10,13 +10,15 @@ import { Shell } from "@/components/shell" import { fetchVendorRegularRegistrations } from "@/lib/vendor-regular-registrations/service"
import { VendorRegularRegistrationsTable } from "@/lib/vendor-regular-registrations/table/vendor-regular-registrations-table"
import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n"
-
-export default async function VendorRegularRegistrationsPage() {
+export default async function VendorRegularRegistrationsPage(props: {params: Promise<{lng: string}>}) {
const promises = Promise.all([
fetchVendorRegularRegistrations(),
])
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
return (
<Shell className="gap-2">
@@ -25,7 +27,7 @@ export default async function VendorRegularRegistrationsPage() { <div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 정규업체 등록관리
+ {t('menu.vendor_management.vendor_regular_registrations')}
</h2>
<InformationButton pagePath="evcp/vendor-regular-registrations" />
</div>
|
